﻿#pragma once
#include "EditEntry.h"

class DoubleEditEntry : public EditEntry {
    Q_OBJECT   
public:
    explicit DoubleEditEntry(QWidget *parent = nullptr);
    virtual ~DoubleEditEntry();
    void setRange(double min, double max);
    void setValue(double value);
    double value() const;
signals:
    void valueChanged(double value);
private:
    void initUi();

private:
    struct DoubleEditEntryPrivate;
    QScopedPointer<DoubleEditEntryPrivate> p;
};
